<template>
    <div class="help-wrap">
        <uploadFile @updateFile="handleUpdateFile"></uploadFile>
        <WordPreview :updateFile="updateFile"></WordPreview>
    </div>
    
</template>

<script lang="ts" setup>
import WordPreview from '@/components/WordPreview.vue';
import uploadFile from '@/components/uploadFile.vue';
import {ref} from 'vue'

let updateFile = ref({})
const handleUpdateFile = ()=>{
    updateFile.value = {
        status:true,
        timeStamp:new Date().getTime()
    }
}

</script>

<style scoped>
.help-wrap{
    text-align: right;
}
</style>
